//经营状况 (集团视图 ｜ 运营视图)
export const apiManageState = (params) => window.ajaxbusinessAssets.request(`/v1/business/operation/view/rate/managev2`, 'post', params, {
  showLoading: true
});

//业态占比 (集团视图 ｜ 运营视图)
export const apiViewbusinessForm = (params) => window.ajaxbusinessAssets.request(`/v1/business/view/rate/businessForm/v1`, 'post', params, {
  showLoading: true
});

//运营视图-收缴状况 (收缴率和欠费共4个tab的数据)
export const apiViewOperateCapture = (params) => window.ajaxbusinessAssets.request(`/v1/business/operation/view/rate/collection/v1`, 'post', params, {
  showLoading: true
});

//集团视图-收缴状况 (欠费)
export const apiViewBlocCapture = (params) => window.ajaxbusinessAssets.request(`/v1/business/view/rate/collection`, 'post', params, {
  showLoading: true
});

//集团视图-收缴状况 空置
export const apiEmptyAsset = (params) => window.ajaxbusinessAssets.request(`/v1/business/operation/view/empty/asset`, 'post', params, {
  showLoading: true
});

//集团视图-租赁状况-出租率
export const apiViewBlocLease = (params) => window.ajaxbusinessAssets.request(`/v1/business/view/rate`, 'post', params, {
  showLoading: true
});

//集团视图-租赁状况-一行的各种数据值
export const apiLeaseStateNum = (params) => window.ajaxbusinessAssets.request(`/v1/business/operation/view/rate/rent/v2`, 'post', params, {
  showLoading: true
});

//运营视图-租赁状况-广告位出租率
export const apiViewOperateLease = (params) => window.ajaxbusinessAssets.request(`/v1/business/operation/view/rate/rent/v1`, 'post', params, {
  showLoading: true
});

//房态合同账单
export const apiContractBill = (params) => window.ajaxbusinessAssets.request(`/v1/business/shop/room/billList`, 'post', params, {
  showLoading: true
});

//客户信息
export const apiClientRoomList = (params) => window.ajaxbusinessAssets.request(`/v1/basic/shop/room/getCustomerList`, 'post', params, {
  showLoading: true
});

//历史签约
export const apiSignHistory = (params) => window.ajaxbusinessAssets.request(`/v1/business/shop/room/hiContract`, 'post', params, {
  showLoading: true
});

//店铺信息
export const apiDetailRoom = (params) => window.ajaxbusinessAssets.request(`/v1/basic/shop/room/detailRoom`, 'post', params, {
  showLoading: true
});

//停车场信息
export const apiDetailPark = (params) => window.ajaxbusinessAssets.request(`/v1/basic/shop/room/detailCar`, 'post', params, {
  showLoading: true
});

//广告信息
export const apiDetailAd = (params) => window.ajaxbusinessAssets.request(`/v1/basic/shop/room/detailAd`, 'post', params, {
  showLoading: true
});

// 集团运营 ｜ 项目计划执行页  头部数据 累计现金流入\支出
export const apicashFlowStatistics = (params) => window.ajaxFinancialplan.request(`/v1/business/cashflow/chargeItem/statistics`, 'post', params, {
  showLoading: true
});

// 经营活动现金流量(集团运营首页 | 计划相关) 柱状图
export const apiOperationIncomeCash = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/monthNetCash`, 'post', params, {
  showLoading: true
});

// 年计划 编制 柱状图
export const apiPlanIncomeCash = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/operationIncomeCash`, 'post', params, {
  showLoading: true
});

// 集团计划 项目计划 上面的流入支出统计
export const apiPlanCashStatistics = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/planCashStatistics`, 'post', params, {
  showLoading: true
});

// 现金流量汇总弹窗(集团/项目)
export const apiPlanCashFlowSummary = (params) => window.ajaxFinancialplan.request(`/v1/business/cash/flow/summary`, 'post', params, {
  showLoading: true
});

// 现金流量汇总弹窗(项目计划执行页) 
export const apiPlanExecuteFlowSummary = (params) => window.ajaxFinancialplan.request(`/v1/business/execution/plan/summary`, 'post', params, {
  showLoading: true
});

// 计划和执行对比(项目计划执行页) 
export const apiPlanExecutionCompare = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/execution/compare`, 'post', params, {
  showLoading: true
});

// 项目执行结果及预测 （集团）
export const apiPlanYearforecast = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/execution/forecast`, 'post', params, {
  showLoading: true
});

// 项目执行结果及预测 （集团） 导出
export const apiPlanYearforecastExport = (params) => window.ajaxFinancialplan.download(`/v1/business/execution/forecast/export`, params, {
  showLoading: true,
  responseType: 'blob'
});

// 收入（执行 ｜ 编制） 导出
export const apiPlanChargeIncometExport = (params) => window.ajaxFinancialplan.download(`/v1//business/charge/income/export`, params, {
  showLoading: true,
  responseType: 'blob'
});

// 收入（执行 ｜ 编制） 导出
export const apiPlanChargePaytExport = (params) => window.ajaxFinancialplan.download(`/v1/business/charge/payment/export`, params, {
  showLoading: true,
  responseType: 'blob'
});

//项目列表
export const apiProjectList = (params) => window.ajaxbusinessAssets.request(`/v1/basic/project/project/projectList`, 'post', params, {
  showLoading: true
});

//项目列表
export const apiCompareTotal = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/execution/compareTotal`, 'post', params, {
  showLoading: true
});

//项目列表
export const apiAssetInfo = (params) => window.ajaxbusinessAssets.request(`/v1/business/asset/info`, 'post', params, {
  showLoading: true
});

//项目列表
export const apiBillInfo = (params) => window.ajaxbusinessAssets.request(`/v1/business/bill/info`, 'post', params, {
  showLoading: true
});

//项目列表
export const apiContractHistoryList = (params) => window.ajaxbusinessAssets.request(`/v1/business/history/contractList`, 'post', params, {
  showLoading: true
});

//客户信息
export const apiContractCustomerInfo = (params) => window.ajaxbusinessAssets.request(`/v1/business/customer/info`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 上面6个现金流
export const apiHomeCashStatistics = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/home/cashStatistics`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 上面6个现金流弹窗
export const apiHomeCashPopStatistics = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/home/cashPopStatistics`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 财务表现
export const performanceFinancial = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/home/net/profit`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 财务表现弹窗
export const apiPerformanceDetail = (params) => window.ajaxFinancialplan.request(`/v1/business/plan/home/net/profit/detail`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 收缴率
export const apiCollectionRate = (params) => window.ajaxFinancialplan.request(`/v1/business/collection/rate`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 收缴率弹窗
export const apiCollectionRateDetail = (params) => window.ajaxFinancialplan.request(`/v1/business/collection/rate/detail`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 出租率
export const apiRentalRate = (params) => window.ajaxFinancialplan.request(`/v1/business/rental/rate`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 出租率弹窗(面积)
export const apiRentalRateDetail = (params) => window.ajaxFinancialplan.request(`/v1/business/rental/rate/detail`, 'post', params, {
  showLoading: true
});

// 集团运营首页 | 计划执行页 出租率弹窗(租金)
export const apiRentalFeeDetail = (params) => window.ajaxFinancialplan.request(`/v1/business/rental/fee/rate/detail`, 'post', params, {
  showLoading: true
});

//集团 | 项目 年计划全年现金流
export const apiForecastCashFlow = (params) =>  window.ajaxFinancialplan.request(`/v1/business/plan/forecastCashFlow`, 'post', params, {
  showLoading: true
});

//集团 | 项目 年计划全年利润
export const apiPlanHomeYearProfit = (params) =>  window.ajaxFinancialplan.request(`/v1/business/plan/home/year/profit`, 'post', params, {
  showLoading: true
});

//收缴率&&出租率弹窗
export const apiCollectionRentalDetail = (params) =>  window.ajaxFinancialplan.request(`/v1/business/collection/rental/detail`, 'post', params, {
  showLoading: true
});

//集团收入支出汇总(Post) 接口
export const apiGroupIncomeExpendSummary = (params) =>  window.ajaxFinancialplan.request(`/v1/business/group/income/expend/summary`, 'post', params, {
  showLoading: true
});

//项目收入支出汇总(Post) 接口
export const apiProjectIncomeExpendSummary = (params) =>  window.ajaxFinancialplan.request(`/v1/business/plan/projectIncomeExpendSummary`, 'post', params, {
  showLoading: true
});

//项目月报支出汇总第一级浮层
export const apiProjectIncomeExpend = (params) =>  window.ajaxFinancialplan.request(`/v1/business/plan/projectIncomeExpend/detail`, 'post', params, {
  showLoading: false
});

//新合同账单
export const apiContractBillList = (param) => window.ajaxBusinessContract.request(`/v1/business/bill/listV2`, 'post', param, {
  showLoading: true
});

//不经营的年份
export const apiJumpConfigList = (param) => window.ajaxbusinessAssets.request(`/v1/basic/commercialrent/project/jump/config/list`, 'post', param, {
  showLoading: true
});